package com.houxy.service;

import com.houxy.repository.model.entity.Department;

import java.util.List;

/**
 * @author Hou
 * @date 2019/3/18 15:51
 * @describe：科室管理
 */
public interface DepartmentService {

    /**
     * 添加科室
     *
     * @param department
     * @return
     */
    boolean addDepartment(Department department);

    /**
     * 获得所有科室
     *
     * @return
     */
    List<Department> findAllDepartment();

    /**
     * 删除科室
     *
     * @param departmentId
     * @return
     */
    boolean deleteDepartment(int departmentId);

    /**
     * 获取科室信息
     *
     * @param departmentId
     * @return
     */
    Department findById(int departmentId);
}
